var Mock = require('mockjs');

exports.response = function (req, res) {
    return Mock.mock({
        "msg": "OK",
        "code": 0,
        "data": {
            "field": [{
                "name": "时间",
                "id": "time"
            }, {
                "name": "变现额",
                "id": "money"
            }, {
                "name": "变现比例",
                "id": "ratio"
            }],
            "list": [{
                "money": 609005248.20600,
                "time": "T",
                "ratio": 0
            }, {
                "money": 609005248.20600,
                "time": "T+1",
                "ratio": 1
            }, {
                "money": 609005248.20600,
                "time": "T+2",
                "ratio": 1
            }, {
                "money": 609005248.20600,
                "time": "T+3",
                "ratio": 1
            }, {
                "money": 609005248.20600,
                "time": "T+4",
                "ratio": 1
            }, {
                "money": 609005248.20600,
                "time": "T+5",
                "ratio": 1
            }, {
                "money": 609005248.20600,
                "time": "T+6",
                "ratio": 1
            }]
        }
    })
}